<template>
  <el-form label-position="top">
    <el-form-item label="条码类型">
      <el-radio-group v-model="activeData.extConfig.codeType">
        <el-radio label="barcode">条形码</el-radio>
        <el-radio label="QRcode">二维码</el-radio>
      </el-radio-group>
    </el-form-item>
    <div style="color: #999; width: 100%;  word-wrap: break-word;">
      {{ codeTips }}
    </div>
  </el-form>
</template>
<script>
export default {
    name:'barcode-config',
    props:['activeData'],
    data(){
      return {
      }
    },
    computed:{
        codeTips() {
          return this.activeData.extConfig.codeType === 'barcode' 
          ? '编码方式：code128，仅支持数字、字母、符号，最大包含128个字符'
          : '编码方式：QR-code，可支持汉字，最大包含150个字'
        }
    },
    watch:{
     
    },
    methods: {
   
    },
}
</script>